package com.gcsoftware.web.mapper;

import com.gcsoftware.web.beans.T_COM_SYS_DICTITEM;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * Created by qs on 2018/3/14.
 */
@Mapper
public interface T_COM_SYS_DICTITEMMAPPER {

    @Select("<script>SELECT c_DICT_ITEM_ID ,c_DICT_ITEM_NAME ,c_DICT_ITEM_VALUE ,c_DICT_GROUP_VALUE ,c_DICT_ITEM_REMARK FROM T_COM_SYS_DICTITEM WHERE 1 = 1 <when test='c_DICT_GROUP_VALUE != null'>AND c_DICT_GROUP_VALUE =#{c_DICT_GROUP_VALUE}</when></script>")
    public List<T_COM_SYS_DICTITEM> queryForList(@Param(value = "c_DICT_GROUP_VALUE") String c_DICT_GROUP_VALUE);
}
